package com.newblog2_0.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2023-12-16
 * Time:14:17
 * Text：
 */
@Data
@TableName("userinfo")
public class UserInfo implements Serializable {
   @TableField("uId")
    private int uId;
    @TableField("uName")
    private String uName;
    private String password;
    private String photo;
    @JsonFormat(pattern = "yyy-MM-dd HH:mm",timezone="GMT+8")
    private String createtime;
    @JsonFormat(pattern = "yyy-MM-dd HH:mm",timezone="GMT+8")
    private String updatetime;
    private String url;
}
